emp={
    'empno':1,
    'ename':'包包大人',
    'family':['老爹','老妈','姐姐'],
    'girl_friend':'布兰妮',
    'sal':200,
    'job':None,
    'data':{
        'status':':)',
        'message':'回家咯！！',
        'result':{
            'id':[1,2,3,4,5],
            'floot':['fanbb','cai10','amy','tony']
        }
    }
}

print(emp['ename'])
print(emp['data']['message'])
print(emp['data']['result']['floot'][1])

data = emp['data']['result']['floot']

for i in range(len(data)):
    print(data[i])


emp.pop('sal')
print(emp)
# 不推荐
print(emp.get('data').get('message'))

print(emp.keys())
data = list(emp.keys())
print(data[1])

